FROM index.alauda.cn/microsoft/dotnet

RUN mkdir -p /app
COPY . /app
WORKDIR /app/WebMvc

RUN dotnet restore

EXPOSE 80

#ENTRYPOINT ["/bin/bash"]
ENTRYPOINT ["dotnet", "run"]

#ONBUILD COPY . /webapp
#ONBUILD RUN dotnet restore